Skip to content

Feat/one helm deploy#154

Open
theoriginmm wants to merge 20 commits intoepam:mainfrom
theoriginmm:feat/one-helm-deploy
Open

Feat/one helm deploy#154
theoriginmm wants to merge 20 commits intoepam:mainfrom
theoriginmm:feat/one-helm-deploy

Conversation

@theoriginmm
Copy link
Contributor

Example of helm charts to deploy all micro-services at once

ashulaev and others added 20 commits December 8, 2022 20:47
…m#28)

* Add category hierarchy response (epam#5)
Co-authored-by: Magic Tears Asunder <The.Magic.Tears.Asunder@protonmail.com>
Co-authored-by: Svetlana Bilevich <svetlana_bilevich@epam.com>
Co-authored-by: theoriginmm <theorigin.mm@gmail.com>
Co-authored-by: Denis Rybakov <minefrs@gmail.com>
Co-authored-by: minev-dev <90937832+minev-dev@users.noreply.github.com>
Co-authored-by: Svetlana Bilevich <69203629+sbilevich@users.noreply.github.com>
Co-authored-by: Kirill Sosnovskiy <Kirill_Sosnovskii@epam.com>
Co-authored-by: Shulaev Andrei <andrei_shulaev@epam.com>
Co-authored-by: Andrey Shulaev <35524482+andrejshulaev@users.noreply.github.com>
Co-authored-by: thinklab <anton_alekseev2@epam.com>
Co-authored-by: Fedor Spiridonov <fedor_spiridonov@epam.com>
CI fix postgres and enable all tests
Co-authored-by: Roman Kuzianov <roman_kuzianov@epam.com>
…_services

fix: fix failing tests for 'annotation'
…by-dataset#59

fix: bug with datasets filters
limits:
memory: "1000Mi"
cpu: "400m"
{{ .Values.resources | default .Values.global.resources | toYaml | indent 10 }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm confused, what's going on here?
If I define resources in global value file, I will get the same resource value for each app. I would prefere to have the ability to manage resources for each app.
If I don't define resources in global values, I will get resources: null.
Example:

global values.yaml

#  resources: {}
#    requests:
#      memory: "1000Mi"
#      cpu: "000m"
#    limits:
#      memory: "0000Mi"
#      cpu: "000m"

values.yaml

resources:
    requests:
        memory: "200Mi"
        cpu: "200m"
    limits:
        memory: "1000Mi"
        cpu: "400m"

Output:

  - image: "818863528939.dkr.ecr.eu-central-1.amazonaws.com/badgerdoc/users:0.1.2-0d3e100"
       imagePullPolicy: "Always"
       name: users
       resources:
         null
         ```

- name: S3_ENDPOINT_URL
value: "http://minio"
value: "{{ default .Values.global.s3Endpoint .Values.s3Endpoint }}"
{{- if .Values.secret.s3user }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean S3 user?

key: S3_PASS
key: S3_PASS
{{- end }}
{{- if .Values.extraEnvs }}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The annotation service has S3_PREFIX property.
Did you miss that or do we need to configure via extraEnvs?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also. I think extraEnvs should be accessable from global values.

{{- if .Values.secret.s3password }}
S3_PASS: {{ .Values.secret.s3password | b64enc }}
{{- end }}
{{- end }} No newline at end of file

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls add newline at the end of the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants